/* 
 * File:   exercise17.h
 * Author: Vic
 *
 * Created on April 30, 2013, 1:37 PM
 */

#ifndef EXERCISE17_H
#define	EXERCISE17_H
struct Shirt{
    int collarSize;
    int sleeveLength;
};
struct Pant{
    int waistSize;
    int inSeam;
};
void displayCodingFacts(Shirt shirt)
{
    std::"The shirt's collar size is "<<shirt.collarSize<<" and sleeve length "<<shirt.sleeveLength<<std::endl;
}
void displayCodingFacts(Pant pant)
{
    std::"The pant's in seam is "<<pant.inSeam<<" and waist size "<<pant.waistSize<<std::endl;
}
void exercise17()
{
    Shirt shirt;
    Pant pant;
    std::cout<<"Please enter shirt's collar size\n";
    std::cin>>shirt.collarSize;
    std::cout<<"Please enter shirt's sleeve length\n";
    std::cin>>shirt.sleeveLength;
    std::cout<<"Please enter pant's waist size\n";
    std::cin>>pant.waistSize;
    std::cout<<"Please enter pant's inseem\n";
    std::cin>>pant.inSeam;
    displayCodingFacts(shirt);
    displayCodingFacts(pant);
}

#endif	/* EXERCISE17_H */

